<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<!-- 1.style或link标签的type类型改成less -->
<link rel="stylesheet" type="text/less" href="./less/demo7.less">
<!-- 2.引入less.js用于将less编译成css -->
<script src="./less/less.js"></script>
<!-- 3.注意：使用 Live Server 插件打开当前页面 -->
</head>
<body>
    
<div class="box1">box1</div>
<div class="box2">box2</div>
<div class="box3">box3</div>
<div class="box4">box4</div>
<div class="box5">box5</div>

</body>
</html>